package com.cw.entity;

import com.alibaba.excel.annotation.*;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.*;
import java.io.*;
import java.math.*;
import java.time.*;
import lombok.*;
import lombok.experimental.*;

/**
 * @author smq
 * @since 2021-04-27
 */
@ApiModel(value = "检查报告表")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("EXAM_REPORT")
public class ExamReport implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "检查报告his主键")
    @TableId("EXAM_REPORT_ID")
    private String examReportId;

    @ApiModelProperty(value = "检查申请单号")
    @ExcelProperty(value = "APPLICATION_NO")
    @TableField("APPLICATION_NO")
    private String applicationNo;

    @ApiModelProperty(value = "检查类型编码")
    @ExcelProperty(value = "EXAMINATION_TYPE_CODE")
    @TableField("EXAMINATION_TYPE_CODE")
        private String examinationTypeCode;

    @ApiModelProperty(value = "检查类型名称")
    @ExcelProperty(value = "EXAMINATION_TYPE_NAME")
    @TableField("EXAMINATION_TYPE_NAME")
        private String examinationTypeName;

    @ApiModelProperty(value = "检查项目编码")
    @ExcelProperty(value = "ITEM_CODE")
    @TableField("ITEM_CODE")
        private String itemCode;

    @ApiModelProperty(value = "检查项目名称")
    @ExcelProperty(value = "ITEM_NAME")
    @TableField("ITEM_NAME")
        private String itemName;

    @ApiModelProperty(value = "门诊号")
    @ExcelProperty(value = "OUTPATIENT_ID")
    @TableField("OUTPATIENT_ID")
        private String outpatientId;

    @ApiModelProperty(value = "住院号")
    @ExcelProperty(value = "INPATIENT_ID")
    @TableField("INPATIENT_ID")
        private String inpatientId;

    @ApiModelProperty(value = "机构编码")
    @ExcelProperty(value = "ORG_CODE")
    @TableField("ORG_CODE")
        private String orgCode;

    @ApiModelProperty(value = "机构名称")
    @ExcelProperty(value = "ORG_NAME")
    @TableField("ORG_NAME")
        private String orgName;

    @ApiModelProperty(value = "检查号")
    @ExcelProperty(value = "EXAM_NO")
    @TableField("EXAM_NO")
        private String examNo;

    @ApiModelProperty(value = "影像号")
    @ExcelProperty(value = "IMAGE_NO")
    @TableField("IMAGE_NO")
        private String imageNo;

    @ApiModelProperty(value = "申请科室编码")
    @ExcelProperty(value = "APPLICATION_DEPT_CODE")
    @TableField("APPLICATION_DEPT_CODE")
        private String applicationDeptCode;

    @ApiModelProperty(value = "申请科室名称")
    @ExcelProperty(value = "APPLICATION_DEPT_NAME")
    @TableField("APPLICATION_DEPT_NAME")
        private String applicationDeptName;

    @ApiModelProperty(value = "申请人编码")
    @ExcelProperty(value = "APPLICATION_PERSON_CODE")
    @TableField("APPLICATION_PERSON_CODE")
        private String applicationPersonCode;

    @ApiModelProperty(value = "申请人名称")
    @ExcelProperty(value = "APPLICATION_PERSON_NAME")
    @TableField("APPLICATION_PERSON_NAME")
        private String applicationPersonName;

    @ApiModelProperty(value = "检查科室编码")
    @ExcelProperty(value = "EXAM_DEPT_CODE")
    @TableField("EXAM_DEPT_CODE")
        private String examDeptCode;

    @ApiModelProperty(value = "检查科室名称")
    @ExcelProperty(value = "EXAM_DEPT_NAME")
    @TableField("EXAM_DEPT_NAME")
        private String examDeptName;

    @ApiModelProperty(value = "检查医生编码")
    @ExcelProperty(value = "EXAM_DOC_CODE")
    @TableField("EXAM_DOC_CODE")
        private String examDocCode;

    @ApiModelProperty(value = "检查医生名称")
    @ExcelProperty(value = "EXAM_DOC_NAME")
    @TableField("EXAM_DOC_NAME")
        private String examDocName;

    @ApiModelProperty(value = "报告人编码")
    @ExcelProperty(value = "REPORT_PERSON_CODE")
    @TableField("REPORT_PERSON_CODE")
        private String reportPersonCode;

    @ApiModelProperty(value = "报告人名称")
    @ExcelProperty(value = "REPORT_PERSON_NAME")
    @TableField("REPORT_PERSON_NAME")
        private String reportPersonName;

    @ApiModelProperty(value = "报告日期")
    @ExcelProperty(value = "REPORT_TIME")
    @TableField("REPORT_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reportTime;

    @ApiModelProperty(value = "审核人编码")
    @ExcelProperty(value = "REVIEWER_CODE")
    @TableField("REVIEWER_CODE")
        private String reviewerCode;

    @ApiModelProperty(value = "审核人名称")
    @ExcelProperty(value = "REVIEWER_NAME")
    @TableField("REVIEWER_NAME")
        private String reviewerName;

    @ApiModelProperty(value = "检查部位ACR编码")
    @ExcelProperty(value = "CHECK_ACR_CODR")
    @TableField("CHECK_ACR_CODR")
        private String checkAcrCodr;

    @ApiModelProperty(value = "检查部位ACR名称")
    @ExcelProperty(value = "CHECK_ACR_NAME")
    @TableField("CHECK_ACR_NAME")
        private String checkAcrName;

    @ApiModelProperty(value = "检查结果代码")
    @ExcelProperty(value = "RESULT_CODE")
    @TableField("RESULT_CODE")
        private String resultCode;

    @ApiModelProperty(value = "检查日期")
    @ExcelProperty(value = "CHECK_TIME")
    @TableField("CHECK_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkTime;

    @ApiModelProperty(value = "报告临床诊断")
    @ExcelProperty(value = "CHECK_DIAG")
    @TableField("CHECK_DIAG")
        private String checkDiag;

    @ApiModelProperty(value = "影像表现或检查所见")
    @ExcelProperty(value = "CHECK_EXPR")
    @TableField("CHECK_EXPR")
        private String checkExpr;

    @ApiModelProperty(value = "检查诊断或提示")
    @ExcelProperty(value = "CHECK_TIPS")
    @TableField("CHECK_TIPS")
        private String checkTips;

    @ApiModelProperty(value = "备注或建议")
    @ExcelProperty(value = "CHECK_SUGGEST")
    @TableField("CHECK_SUGGEST")
        private String checkSuggest;

    @ApiModelProperty(value = "是否有影像")
    @ExcelProperty(value = "IS_IMAGE")
    @TableField("IS_IMAGE")
        private BigDecimal isImage;

    @ApiModelProperty(value = "密级")
    @ExcelProperty(value = "SEC_RANK")
    @TableField("SEC_RANK")
        private String secRank;

    @ApiModelProperty(value = "提交时间")
    @ExcelProperty(value = "SUB_DATE")
    @TableField("SUB_DATE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime subDate;

    @ApiModelProperty(value = "记录状态")
    @ExcelProperty(value = "REC_STATE")
    @TableField("REC_STATE")
        private String recState;

    @ApiModelProperty(value = "完成标志")
    @ExcelProperty(value = "COMP_FLAG")
    @TableField("COMP_FLAG")
        private String compFlag;

    @ExcelProperty(value = "CREATE_TIME")
    @TableField("CREATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ExcelProperty(value = "CREATE_BY")
    @TableField("CREATE_BY")
        private String createBy;

    @ExcelProperty(value = "UPDATE_TIME")
    @TableField("UPDATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ExcelProperty(value = "UPDATE_COUNT")
    @TableField("UPDATE_COUNT")
        private BigDecimal updateCount;

    @ExcelProperty(value = "UPDATE_BY")
    @TableField("UPDATE_BY")
        private String updateBy;

    @ExcelProperty(value = "DELETE_TIME")
    @TableField("DELETE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deleteTime;

    @ExcelProperty(value = "DELETE_BY")
    @TableField("DELETE_BY")
        private String deleteBy;

    @ExcelProperty(value = "DELETE_FLAG")
    @TableField("DELETE_FLAG")
        private String deleteFlag;

    @ApiModelProperty(value = "检查仪器号")
    @ExcelProperty(value = "EQU_NO")
    @TableField("EQU_NO")
        private String equNo;

    @ApiModelProperty(value = "检查设备仪器型号")
    @ExcelProperty(value = "CHECKEQU_CODE")
    @TableField("CHECKEQU_CODE")
        private String checkequCode;

    @ApiModelProperty(value = "检查结果 未定 异常 正常")
    @ExcelProperty(value = "RESULT_NAME")
    @TableField("RESULT_NAME")
        private String resultName;

    @ApiModelProperty(value = "标本号")
    @ExcelProperty(value = "SAMPLE_NO")
    @TableField("SAMPLE_NO")
        private String sampleNo;

    @ApiModelProperty(value = "储存影像格式")
    @ExcelProperty(value = "STORE_IMAGE_TYPE")
    @TableField("STORE_IMAGE_TYPE")
        private String storeImageType;

    @ApiModelProperty(value = "储存影像路径")
    @ExcelProperty(value = "IMAGE_URL")
    @TableField("IMAGE_URL")
        private String imageUrl;



}
